package utils

import (
	"fmt"

	"github.com/astaxie/beego/logs"
)

func Info(format string, v ...interface{}) {
	msg := fmt.Sprintf(format, v...)
	fmt.Printf("[I] %s\n", msg)
}

func InfoDev(format string, v ...interface{}) {
	if !IsPackage() {
		logs.Warn("[Dev] %s", fmt.Sprintf(format, v...))
	}
}
